<?php
/**
 * 支付服务层
 */
namespace app\service;
class PaymentService
{
    /**
     * 支付方式
     */
    public static $payment_array = [
        1 => [
            'value' => 1,
            'name' => '微信',
            'payment' => 'Weixin',
            'jzpayment' => 'JzWeixin',
            'uppayment' => 'UpWeixin',
            'config' => [
                //用户身份类型
                'user' => [
                    'app_appid' => '',
                    'appid' => 'wx8f727f4e82c3392b',
                    'mini_appid' => '',
                    'mch_id' => '1630480767',
                    'key' => 'qwertyuiopasdfghjklzxcvbnmqwerty',
                    'apiclient_cert' => '-----BEGIN CERTIFICATE-----
MIID8DCCAtigAwIBAgIUNNyM6Jttm54EaM5ERhdxgInX+8YwDQYJKoZIhvcNAQEL
BQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT
FFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg
Q0EwHhcNMjIwODE4MDkwMzAzWhcNMjcwODE3MDkwMzAzWjCBgTETMBEGA1UEAwwK
MTYzMDQ4MDc2NzEbMBkGA1UECgwS5b6u5L+h5ZWG5oi357O757ufMS0wKwYDVQQL
DCTlpKrljp/lkIjml63nvZHnu5znp5HmioDmnInpmZDlhazlj7gxCzAJBgNVBAYM
AkNOMREwDwYDVQQHDAhTaGVuWmhlbjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
AQoCggEBALRtR+nuty2EZsLFJKBOkiGN8k4q8jOpGhkMXhr1iGdt8CtWljv0QLYD
wcSKAlyo61Ajw+M99K0jwzIiO3eSLPjwKJw4d6CAU8PdRnGUBspBkUZrb/NJBQib
j5niUUmJhz63qM7RIRPAy7oSDsH6UkNMrabMGJCWf8DeJmu8X23ge+Fve/CCeiFI
XCIlqAdRmHXniahhFz+lAlVhoUa6gZw2OrPlO4Tl8oL2UT8s3nM4SElw7o28abVe
5bcSz2i9LhI1uPKL/ljSo6MrDBVoOxlahIVJqTm3/ROrcuzY7EwVTy1ZFYTykrL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ye4Ml+HVKlfbGZtZfw2sCcYIU7RpF3fZf6dYGAHp/NCFjOxIPGFmDPF8H8GRT
cxGhTc/emQ88icB7VYuG2ulrHqX2LdyoDgf5TkC6anp2xiocIZz73KIsJe+N4hFF
QdlXaJQvnvLirN6yJdSM8GL0
-----END PRIVATE KEY-----'
                ],
                //技师身份类型
                'techn' => [
                    'app_appid' => '',
                    'appid' => '',
                    'mini_appid' => 'wx74b59c9b284e7367',
                    'mch_id' => '1630480767',
                    'key' => 'qwertyuiopasdfghjklzxcvbnmqwerty',
                    'apiclient_cert' => '-----BEGIN CERTIFICATE-----
MIID8DCCAtigAwIBAgIUNNyM6Jttm54EaM5ERhdxgInX+8YwDQYJKoZIhvcNAQEL
BQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT
FFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg
Q0EwHhcNMjIwODE4MDkwMzAzWhcNMjcwODE3MDkwMzAzWjCBgTETMBEGA1UEAwwK
MTYzMDQ4MDc2NzEbMBkGA1UECgwS5b6u5L+h5ZWG5oi357O757ufMS0wKwYDVQQL
DCTlpKrljp/lkIjml63nvZHnu5znp5HmioDmnInpmZDlhazlj7gxCzAJBgNVBAYM
AkNOMREwDwYDVQQHDAhTaGVuWmhlbjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
AQoCggEBALRtR+nuty2EZsLFJKBOkiGN8k4q8jOpGhkMXhr1iGdt8CtWljv0QLYD
wcSKAlyo61Ajw+M99K0jwzIiO3eSLPjwKJw4d6CAU8PdRnGUBspBkUZrb/NJBQib
j5niUUmJhz63qM7RIRPAy7oSDsH6UkNMrabMGJCWf8DeJmu8X23ge+Fve/CCeiFI
XCIlqAdRmHXniahhFz+lAlVhoUa6gZw2OrPlO4Tl8oL2UT8s3nM4SElw7o28abVe
5bcSz2i9LhI1uPKL/ljSo6MrDBVoOxlahIVJqTm3/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7fjtJdP5shHZNw+2ut
ovvye4Ml+HVKlfbGZtZfw2sCcYIU7RpF3fZf6dYGAHp/NCFjOxIPGFmDPF8H8GRT
cxGhTc/emQ88icB7VYuG2ulrHqX2LdyoDgf5TkC6anp2xiocIZz73KIsJe+N4hFF
QdlXaJQvnvLirN6yJdSM8GL0
-----END PRIVATE KEY-----'
                ]
            ]
        ],
//        1 => [
//            'value' => 1,
//            'name' => '微信',
//            'payment' => 'Weixin',
//            'jzpayment' => 'JzWeixin',
//            'uppayment' => 'UpWeixin',
//            'config' => [
//                //用户身份类型
//                'user' => [
//                    'app_appid' => '',
//                    'appid' => 'wx8f727f4e82c3392b',
//                    'mini_appid' => '',
//                    'mch_id' => '1640604023',
//                    'key' => 'assMIIEvQIBADANBgkqhkiG9w0BAQEFA',
//                    'apiclient_cert' => '-----BEGIN CERTIFICATE-----
//MIIEKzCCAxOgAwIBAgIUZUQLw9EfQmd1ab9X1hP52km1/ZAwDQYJKoZIhvcNAQEL
//BQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT
//FFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg
//Q0EwHhcNMjMwNjE0MTAzNTU5WhcNMjgwNjEyMTAzNTU5WjCBhDETMBEGA1UEAwwK
//MTY0MDYwNDAyMzEbMBkGA1UECgwS5b6u5L+h5ZWG5oi357O757ufMTAwLgYDVQQL
//DCflpKrljp/mkanlsI/lprnkvIHkuJrnp5HmioDmnInpmZDlhazlj7gxCzAJBgNV
//BAYMAkNOMREwDwYDVQQHDAhTaGVuWmhlbjCCASIwDQYJKoZIhvcNAQEBBQADggEP
//ADCCAQoCggEBANZFXnIyHQE7lr9bM0QilvVBmIfDORVeOdFhTemvMUaly4PVLUzJ
//SrCZ0Ju1oESN+gEK3sO8Cm3Z2CrNu18q6vAYojoTyxMjIqwNW5vsfIhgfz+JvXf6
//KxnQroLCGcON80qUeH1aFqpiBH6JUXkOu/gEcSfDDJsrabrsQMoC5x875sc6hVk9
//Ooxlg6TaG/9rqcGBSS1F1H/p97trzac7ClIwPa1FmIEXHldVgcdW6xKkcSqzR1KY
//zWjRZr57aX7Z82IBPIJS9WL8KKWFWSidlAk7gy5qNQYmU3p0Pm2z5qY4YbkWjhEF
//CDzw6Lks1L42aSM1zW0zoOHE/pGuSqy4KxsCAwEAAaOBuTCBtjAJBgNVHRMEAjAA
//MAsGA1UdDwQEAwID+DCBmwYDVR0fBIGTMIGQMIGNoIGKoIGHhoGEaHR0cDovL2V2
//Y2EuaXRydXMuY29tLmNuL3B1YmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJD
//MDRCMDZBRDM5NzU0OTg0NkMwMUMzRThFQkQyJnNnPUhBQ0M0NzFCNjU0MjJFMTJC
//MjdBOUQzM0E4N0FEMUNERjU5MjZFMTQwMzcxMA0GCSqGSIb3DQEBCwUAA4IBAQCz
//Cy1mSELC8oZd94NcLW/nW1wf8eh2lI76OAG10HKOhH8RtrKFrLI835tJzv85p0xB
//0yuPFvV++bls5y07nUn0Qdyfu440Nhr0kj1ent02DQNWKVdiLAQMoi/dNVWOvamS
//1wiQlP2P121T4i4E1Qncr8rfiEjQVYKdEgd5W1f9mWd3cGdDSfM2525jK9jqg+VI
//ihHz6ArZ8wMwmEkjA0ukqUKdqrO4XKwL493izQf1fIptqvw061VIKaMYDc3QYieP
//TKZTH5uUyix2uEGOBe4Y/QV55ibShcAQrNVYOllqzw0gOxWJ320Ek2qYRAfcwhVH
//vLAGKbnHZjPZqKW7UOzp
//-----END CERTIFICATE-----',
//                    'apiclient_key' => '-----BEGIN PRIVATE KEY-----
//MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDWRV5yMh0BO5a/
//WzNEIpb1QZiHwzkVXjnRYU3przFGpcuD1S1MyUqwmdCbtaBEjfoBCt7DvApt2dgq
//zbtfKurwGKI6E8sTIyKsDVub7Hy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kz7o62PeauFBtDCoNP
//TWdUQb/wvwIj0Y1lG3IULRyK9DvJelyYspuYT11gmG2idtckvMIOtJr4PwKBgQCt
//8Ja456ZNaQrAEnXRrFR7B70y/87VFBNnEZnhGrEoPqQPGcPFCeOIo/iusT5+boZf
//CemJBZPa7nf2P+DqqFwGBeqebvUnaEdCyiN5qpLnB8goAhIzxHNDhPaSdrwwHHBV
//itjmSSW0xAR121uG8BJKRXb//gIGjpfQLo3HouqrcQKBgHA2Tkq2h7yfDdf+6oCw
//Fnl9depPS6JdcFiwqwmZ8x6nta9WA3MNy+ea58DZXinAeI3uVtWnK/EdcEyRvceu
//DolQY3XT4pmB2k0vaoQmFKeAUotg4F4nNudqxsGfRtLpFOYOa9eQl4pHwS7k9Fzx
//bW2qqDoYuYNZa0IWNPTTgg5f
//-----END PRIVATE KEY-----'
//                ],
//                //技师身份类型
//                'techn' => [
//                    'app_appid' => '',
//                    'appid' => '',
//                    'mini_appid' => 'wx74b59c9b284e7367',
//                    'mch_id' => '1640604023',
//                    'key' => 'assMIIEvQIBADANBgkqhkiG9w0BAQEFA',
//                    'apiclient_cert' => '-----BEGIN CERTIFICATE-----
//MIIEKzCCAxOgAwIBAgIUZUQLw9EfQmd1ab9X1hP52km1/ZAwDQYJKoZIhvcNAQEL
//BQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT
//FFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg
//Q0EwHhcNMjMwNjE0MTAzNTU5WhcNMjgwNjEyMTAzNTU5WjCBhDETMBEGA1UEAwwK
//MTY0MDYwNDAyMzEbMBkGA1UECgwS5b6u5L+h5ZWG5oi357O757ufMTAwLgYDVQQL
//DCflpKrljp/mkanlsI/lprnkvIHkuJrnp5HmioDmnInpmZDlhazlj7gxCzAJBgNV
//BAYMAkNOMREwDwYDVQQHDAhTaGVuWmhlbjCCASIwDQYJKoZIhvcNAQEBBQADggEP
//ADCCAQoCggEBANZFXnIyHQE7lr9bM0QilvVBmIfDORVeOdFhTemvMUaly4PVLUzJ
//SrCZ0Ju1oESN+gEK3sO8Cm3Z2CrNu18q6vAYojoTyxMjIqwNW5vsfIhgfz+JvXf6
//KxnQroLCGcON80qUeH1aFqpiBH6JUXkOu/gEcSfDDJsrabrsQMoC5x875sc6hVk9
//Ooxlg6TaG/9rqcGBSS1F1H/p97trzac7ClIwPa1FmIEXHldVgcdW6xKkcSqzR1KY
//zWjRZr57aX7Z82IBPIJS9WL8KKWFWSidlAk7gy5qNQYmU3p0Pm2z5qY4YbkWjhEF
//CDzw6Lks1L42aSM1zW0zoOHE/pGuSqy4KxsCAwEAAaOBuTCBtjAJBgNVHRMEAjAA
//MAsGA1UdDwQEAwID+DCBmwYDVR0fBIGTMIGQMIGNoIGKoIGHhoGEaHR0cDovL2V2
//Y2EuaXRydXMuY29tLmNuL3B1YmxpYy9pdHJ1c2NybD9DQT0xQkQ0MjIwRTUwREJD
//MDRCMDZBRDM5NzU0OTg0NkMwMUMzRThFQkQyJnNnPUhBQ0M0NzFCNjU0MjJFMTJC
//MjdBOUQzM0E4N0FEMUNERjU5MjZFMTQwMzcxMA0GCSqGSIb3DQEBCwUAA4IBAQCz
//Cy1mSELC8oZd94NcLW/nW1wf8eh2lI76OAG10HKOhH8RtrKFrLI835tJzv85p0xB
//0yuPFvV++bls5y07nUn0Qdyfu440Nhr0kj1ent02DQNWKVdiLAQMoi/dNVWOvamS
//1wiQlP2P121T4i4E1Qncr8rfiEjQVYKdEgd5W1f9mWd3cGdDSfM2525jK9jqg+VI
//ihHz6ArZ8wMwmEkjA0ukqUKdqrO4XKwL493izQf1fIptqvw061VIKaMYDc3QYieP
//TKZTH5uUyix2uEGOBe4Y/QV55ibShcAQrNVYOllqzw0gOxWJ320Ek2qYRAfcwhVH
//vLAGKbnHZjPZqKW7UOzp
//-----END CERTIFICATE-----',
//                    'apiclient_key' => '-----BEGIN PRIVATE KEY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pXv+ZgEBTEV3TueNpfwjFjf8eLo/uswrh/X2UHyHlhx
//5C5lL9dqz+UCgYADIjT9bqjYrcS3ee/Q67ww6ellvj+d98ZrSk+Sszbw9zcXO8+E
//9c2qxYvWvHFA+2TKrJWcKw6RgFfnYhi3l6Q5jUolLwc7pAkz7o62PeauFBtDCoNP
//TWdUQb/wvwIj0Y1lG3IULRyK9DvJelyYspuYT11gmG2idtckvMIOtJr4PwKBgQCt
//8Ja456ZNaQrAEnXRrFR7B70y/87VFBNnEZnhGrEoPqQPGcPFCeOIo/iusT5+boZf
//CemJBZPa7nf2P+DqqFwGBeqebvUnaEdCyiN5qpLnB8goAhIzxHNDhPaSdrwwHHBV
//itjmSSW0xAR121uG8BJKRXb//gIGjpfQLo3HouqrcQKBgHA2Tkq2h7yfDdf+6oCw
//Fnl9depPS6JdcFiwqwmZ8x6nta9WA3MNy+ea58DZXinAeI3uVtWnK/EdcEyRvceu
//DolQY3XT4pmB2k0vaoQmFKeAUotg4F4nNudqxsGfRtLpFOYOa9eQl4pHwS7k9Fzx
//bW2qqDoYuYNZa0IWNPTTgg5f
//-----END PRIVATE KEY-----'
//                ]
//            ]
//        ],
        2 => [
            'value' => 2,
            'name' => '支付宝',
            'payment' => 'Alipay',
            'jzpayment' => 'Alipay',
            'uppayment' => 'Alipay',
            'config' => [
                //用户身份类型
                'user' => [
                    'appid' => '2021003175659216',
                    'rsa_public' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhlotqlW9OvJ0Kg6i9yH2IUZBfpQz7jDF5U4ltWgKDS7VGDiccDd9zs/GaRu0oA36H4NNmU33ISrHg5Ok8O2+yzmI4c0EDTwjJ+SPEoylS+h6i+c3kyZRDSSVZtOrKldTWhaxyzvlVtV3kzthnovvpysbAmLBHRelaCuueWw0D7oI3sZmT+Biaip6oN635GgtZsgEBIxdE0wcAU6/dZPHnaDNcwZDsLxyT51mgeFuA7rChx610FnbGwhAQkRVK1H+e386xkM5VWq9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DSXkqy/B3l60NM2OSoehoCyPWELBRQHPcXO2TVGnxU10jIR7+timxf8xWxJWKyTzr1KECgYBIp50SaH3EK4771/MnZYBLkjZFYasNSSEg2ABlFivjytWsmqVcPg+qBdjkDWbJVENwNQ7+3g+yDQrnwA1LA387Vwn6UQ7jTT4cR3NZgm2WekxUIj1WWiQLXCdshJJ//PmYkWBrvQW34o1cSoOO9rueoHW/Jz99AcDo3PuJn2RDkQKBgCbtkQdtiK+BMpGEA41LS7fEkpaUT+/fRPMBbu0AWgeOP+cxPQ+LJ5T77B9EuW1jdl6Bg8OhYrlHmZPxOaNmopE29euzE9ZL4pBjX5xv/7jCV5AbffB/g8LPPQtFV2uwOB0mBQvFtzDruo5SsUz2YQVJPDRPAz77JwcYuxvPQm9BAoGBAKvzVJRk6P9OaxPmfG06hdencbODmV4kzZd66Hm1GUGM+sNSgdjD+WPJ7UkrO6LPe9QM10zPwKcyKBzEiQuLjQ/fwIvKxFlFMs0dUsZ4nHE64MkAL3xtVYD4PWVHGTLf1ETBOReH1177XaC78vYNMlrbtruSKe7OvT43K6/RIyT2',
                    'out_rsa_public' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqlT+X14ZLp68WLH1hYhjcBYL6XyHVFJp6epr39S5qEU1xjxlpTuDBSoQTyq34P4r6MvuYSiDEpqaGb6DISoc+SSLEmZGV0cPUvXrP4iZ45N54+cihMm7oo13njdQpSQrnTtNO/AdVbL3tlo+KSalzbOgu2r6RZoNSOD1WlBmrYlhF77AC9MOZN5tAAGvhyFsURxWh7t0sYojuS6sZx1Tw+Wv/puEQgEPPsEmmJ0rr+xlhTHuG4e80dbC77GYjbhm8CFIYsH4QOwSr1jjAdYfcOGcfjvgIloYx0s3bRRn4BHTP0Fldpd1AO1RrKQYEjSU7BcwXg0Zr3kL+MXCz7owtwIDAQAB'
                ]
            ]
        ],
        3 => [
            'value' => 3,
            'name' => '余额',
            'payment' => 'MoneyPay',
            'jzpayment' => 'JzMoneyPay',
            'uppayment' => 'UpMoneyPay',
            'config' => [
                //用户身份类型
                'user' => [
                    //表名
                    'table_name' => 'user'
                ],
                //技师身份类型
                'techn' => [
                    'table_name' => 'techn'
                ]
            ]
        ]
    ];
}